// 菜单配置数据
export const menuConfig = [
  {
    index: 'users',
    title: '用户管理',
    icon: 'User',
    children: [
      {
        index: '/users/admins',
        title: '管理员信息',
        icon: 'UserFilled',
        path: '/users/admins',
      },
      {
        index: '/users/students',
        title: '学生信息',
        icon: 'Avatar',
        path: '/users/students',
      },
      {
        index: '/users/teachers',
        title: '教师信息',
        icon: 'Postcard',
        path: '/users/teachers',
      },
    ],
  },
  {
    index: '/questions',
    title: '题库管理',
    icon: 'Document',
    path: '/questions',
  },
  {
    index: '/knowledge',
    title: '知识图谱',
    icon: 'Connection',
    path: '/knowledge',
  },
  {
    index: 'content',
    title: '内容管理',
    icon: 'Grid',
    children: [
      {
        index: '/content/videos',
        title: '视频课程',
        icon: 'VideoPlay',
        path: '/content/videos',
      },
      {
        index: '/content/topics',
        title: '话题社区',
        icon: 'ChatDotRound',
        path: '/content/topics',
      },
      {
        index: '/content/pk',
        title: 'PK竞赛',
        icon: 'Trophy',
        path: '/content/pk',
      },
    ],
  },
  {
    index: 'system',
    title: '系统管理',
    icon: 'Setting',
    children: [
      {
        index: '/system/roles',
        title: '角色管理',
        icon: 'Avatar',
        path: '/system/roles',
      },
      {
        index: '/system/permissions',
        title: '权限管理',
        icon: 'Key',
        path: '/system/permissions',
      },
      {
        index: '/system/reports',
        title: '数据报表',
        icon: 'TrendCharts',
        path: '/system/reports',
      },
      {
        index: '/system/settings',
        title: '系统设置',
        icon: 'Tools',
        path: '/system/settings',
      },
      {
        index: '/system/audit',
        title: '操作日志',
        icon: 'Search',
        path: '/system/audit',
      },
    ],
  },
]
